Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bug in tuyaModernExtend #8435

Merged
merged 1 commit into from
Dec 4, 2024
Merged

Conversation

mattbyte
Copy link
Contributor

@mattbyte mattbyte commented Dec 4, 2024

Bug introduced in #8190 and prevents tuyaModernExtend functioning when no endpoint is specified. Low impact as almost no converters use this yet.

When endpoint is undefined, array is still truthy. Correction to ensure value is falsy when zigbee2mqtt is matching the converter.

I now have a converter working for a garage door opener if tuyaModernExtend is ready to be used more widely?

Array containing an undefined is truthy. Correction to ensure value is falsy.
@mattbyte mattbyte changed the title Fix Bug in tuyaModernExtend Fix bug in tuyaModernExtend Dec 4, 2024
@Koenkk Koenkk merged commit 36f5592 into Koenkk:master Dec 4, 2024
2 checks passed
@Koenkk
Copy link
Owner

Koenkk commented Dec 4, 2024

I now have a converter working for a garage door opener if tuyaModernExtend is ready to be used more widely?

tuyaModernExtend can be used, feel free to create a PR. Thanks for the fix!

@mattbyte mattbyte deleted the Tuya-ModernExtend-Bug branch December 5, 2024 13:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants